.login-layer {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba( 0, 0, 0, 0.5);
  z-index: 999;
}
.form-block {
  position: relative;
  padding: 20px;
  width: 400px;
  background: #fff;
  margin: 0 auto;
  top: 50%;
  transform: translate(0 -30%);
}
.form-close {
  position: absolute;
  display: inline-block;
  width: 10px;
  height: 10px;
  top: 10px;
  right: 10px;
}
.form-input {
  padding: 10px 0;
}
.form-input input {
  height: 30px;
}
.form-label {
  display: inline-block;
  width: 100px;
  margin-right: 10px;
  color: #3f3f3f;
  text-align: right;
}
.form-btn button {
  padding: 5px 20px;
  color: #fff;
  border: 0;
  background: blue;
}